package com.ypf.demo_ssm.service.impl;

import com.ypf.demo_ssm.entity.Order;
import com.ypf.demo_ssm.mapper.OrderMapper;
import com.ypf.demo_ssm.service.OrderService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ypf.demo_ssm.dto.response.OrderUserVO;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 殷鹏飞
 * @since 2024-06-23
 */
@Service
public class OrderServiceImpl extends ServiceImpl<OrderMapper, Order> implements OrderService {

    @Resource
    private OrderMapper orderMapper;

    @Override
    public List<OrderUserVO> queryList(String name) {
        return orderMapper.queryList(name);
    }
}
